import os
import datetime
import time


while True:
    now = datetime.datetime.now()
    if now.hour == 0:
        os.system("sudo rsync -acrv flask@49.4.54.103:/data/aqdata/quote /data/aqdata/quote")
    time.sleep(3600)













